package cn.imvc.data.jpa.repository;

import org.springframework.data.domain.Page;
import cn.imvc.data.domain.ViewRequest;

public interface IJpqlExecutor<T> {
	Page<T> findAll(ViewRequest viewRequest);
    Page<T> findAll(String select,String from,ViewRequest viewRequest);
    <E> Page<E> findAll(Class<E> clazz,String select,String from,ViewRequest viewRequest);
}
